home *** CD-ROM | disk | FTP | other *** search
/ Chip: 2005 Utilities / CHIP Utilities 2005.7z / CHIP Utilities 2005.iso / images / seatools.igz / seatools.img / LETTER.BAT < prev    next >
Encoding:
DOS Batch File  |  2004-09-16  |  1.3 KB  |  73 lines

  1. @echo off
  2.  
  3. if "%CDBOOT%"=="TRUE" goto cBOOT
  4. goto FBOOT
  5.  
  6. :CBOOT
  7. call x:\letter.bat %1
  8. goto DONE
  9.  
  10. :FBOOT
  11. set DESTPATH=%1:\
  12. echo Your RAM Disk is %DESTPATH%
  13.  
  14. REM --- begin new
  15. splash
  16. ECHO Loading files into memory, please wait...
  17.  
  18. IF NOT EXIST stzip1.exe GOTO DISK1_PROMPT
  19. GOTO COPY_DISK1
  20.  
  21. :DISK1_PROMPT
  22. rem choice /c:C /N Please insert SeaTools Desktop Disk 1 and press 'c' to continue
  23. splash
  24. splash
  25. IF NOT EXIST stzip1.exe GOTO DISK1_PROMPT
  26.  
  27. :COPY_DISK1
  28. copy stzip1.exe %DESTPATH%
  29. %DESTPATH%stzip1.exe %DESTPATH%
  30.  
  31. :DISK2_PROMPT
  32. rem choice /c:C /N Please insert SeaTools Desktop Disk 2 and press 'c' to continue
  33. splash
  34. splash
  35. IF NOT EXIST stzip2.exe GOTO DISK2_PROMPT
  36.  
  37. :COPY_DISK2
  38. copy stzip2.exe %DESTPATH%
  39. copy xbios.exe %DESTPATH%
  40. copy drmouse.com %DESTPATH%
  41. %DESTPATH%stzip2.exe %DESTPATH%
  42.  
  43.  
  44. splash
  45. cls
  46.  
  47. %1:
  48. xbios  /Z /I /X
  49. CALL loadaspi
  50.  
  51. drmouse
  52. if errorlevel 10 goto MOUSEERR
  53. if errorlevel 9 goto MOUSEERR
  54. if errorlevel 8 goto MOUSEERR
  55. if errorlevel 7 goto MOUSEERR
  56. if errorlevel 6 goto MOUSEERR
  57. if errorlevel 5 goto MOUSEERR
  58. if errorlevel 4 goto MOUSEERR
  59. if errorlevel 3 goto MOUSEERR
  60. if errorlevel 2 goto MOUSEERR
  61. goto NOMOUSEERR
  62.  
  63. :MOUSEERR
  64. drmouse /u
  65. set NOMOUSE=TRUE
  66.  
  67. :NOMOUSEERR
  68.  
  69. CALL a:\st.BAT
  70. cls
  71. echo Your RAM Disk is %DESTPATH%
  72. echo Thank you for using SeaTools DOS
  73. :DONE